All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.core.NumberFormatter

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.core.Formatter
                   |
                   +----com.apple.alpha.core.NumberFormatter

public class NumberFormatter
extends Formatter
This class wraps the Objective-C class NSNumberFormatter.


Constructor Index

 o NumberFormatter()
This default constructor is equivalent to Objective-C's [[NSNumberFormatter alloc] init].
 o NumberFormatter(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o NumberFormatter(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

Method Index

 o allowsFloats()
A wrapper for the - allowsFloats Objective-C instance method.
 o attributedStringForNil()
A wrapper for the - attributedStringForNil Objective-C instance method.
 o attributedStringForNotANumber()
A wrapper for the - attributedStringForNotANumber Objective-C instance method.
 o attributedStringForZero()
A wrapper for the - attributedStringForZero Objective-C instance method.
 o decimalSeparator()
A wrapper for the - decimalSeparator Objective-C instance method.
 o format()
A wrapper for the - format Objective-C instance method.
 o hasThousandSeparators()
A wrapper for the - hasThousandSeparators Objective-C instance method.
 o localizesFormat()
A wrapper for the - localizesFormat Objective-C instance method.
 o negativeFormat()
A wrapper for the - negativeFormat Objective-C instance method.
 o positiveFormat()
A wrapper for the - positiveFormat Objective-C instance method.
 o setAllowsFloats(boolean)
A wrapper for the - setAllowsFloats: Objective-C instance method.
 o setAttributedStringForNil(AttributedString)
A wrapper for the - setAttributedStringForNil: Objective-C instance method.
 o setAttributedStringForNotANumber(AttributedString)
A wrapper for the - setAttributedStringForNotANumber: Objective-C instance method.
 o setAttributedStringForZero(AttributedString)
A wrapper for the - setAttributedStringForZero: Objective-C instance method.
 o setDecimalSeparator(String)
A wrapper for the - setDecimalSeparator: Objective-C instance method.
 o setFormat(String)
A wrapper for the - setFormat: Objective-C instance method.
 o setHasThousandSeparators(boolean)
A wrapper for the - setHasThousandSeparators: Objective-C instance method.
 o setLocalizesFormat(boolean)
A wrapper for the - setLocalizesFormat: Objective-C instance method.
 o setNegativeFormat(String)
A wrapper for the - setNegativeFormat: Objective-C instance method.
 o setPositiveFormat(String)
A wrapper for the - setPositiveFormat: Objective-C instance method.
 o setTextAttributesForNegativeValues(Dictionary)
A wrapper for the - setTextAttributesForNegativeValues: Objective-C instance method.
 o setTextAttributesForPositiveValues(Dictionary)
A wrapper for the - setTextAttributesForPositiveValues: Objective-C instance method.
 o setThousandSeparator(String)
A wrapper for the - setThousandSeparator: Objective-C instance method.
 o textAttributesForNegativeValues()
A wrapper for the - textAttributesForNegativeValues Objective-C instance method.
 o textAttributesForPositiveValues()
A wrapper for the - textAttributesForPositiveValues Objective-C instance method.
 o thousandSeparator()
A wrapper for the - thousandSeparator Objective-C instance method.

Constructors

 o NumberFormatter
 protected NumberFormatter(boolean shouldAllocate,
                           int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o NumberFormatter
 public NumberFormatter()
This default constructor is equivalent to Objective-C's [[NSNumberFormatter alloc] init].

 o NumberFormatter
 public NumberFormatter(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

Methods

 o negativeFormat
 public native String negativeFormat()
A wrapper for the - negativeFormat Objective-C instance method.

 o setNegativeFormat
 public native void setNegativeFormat(String format)
A wrapper for the - setNegativeFormat: Objective-C instance method.

 o textAttributesForNegativeValues
 public native Dictionary textAttributesForNegativeValues()
A wrapper for the - textAttributesForNegativeValues Objective-C instance method.

 o setTextAttributesForNegativeValues
 public native void setTextAttributesForNegativeValues(Dictionary newAttributes)
A wrapper for the - setTextAttributesForNegativeValues: Objective-C instance method.

 o positiveFormat
 public native String positiveFormat()
A wrapper for the - positiveFormat Objective-C instance method.

 o setPositiveFormat
 public native void setPositiveFormat(String format)
A wrapper for the - setPositiveFormat: Objective-C instance method.

 o textAttributesForPositiveValues
 public native Dictionary textAttributesForPositiveValues()
A wrapper for the - textAttributesForPositiveValues Objective-C instance method.

 o setTextAttributesForPositiveValues
 public native void setTextAttributesForPositiveValues(Dictionary newAttributes)
A wrapper for the - setTextAttributesForPositiveValues: Objective-C instance method.

 o attributedStringForZero
 public native AttributedString attributedStringForZero()
A wrapper for the - attributedStringForZero Objective-C instance method.

 o setAttributedStringForZero
 public native void setAttributedStringForZero(AttributedString newAttributedString)
A wrapper for the - setAttributedStringForZero: Objective-C instance method.

 o attributedStringForNil
 public native AttributedString attributedStringForNil()
A wrapper for the - attributedStringForNil Objective-C instance method.

 o setAttributedStringForNil
 public native void setAttributedStringForNil(AttributedString newAttributedString)
A wrapper for the - setAttributedStringForNil: Objective-C instance method.

 o attributedStringForNotANumber
 public native AttributedString attributedStringForNotANumber()
A wrapper for the - attributedStringForNotANumber Objective-C instance method.

 o setAttributedStringForNotANumber
 public native void setAttributedStringForNotANumber(AttributedString newAttributedString)
A wrapper for the - setAttributedStringForNotANumber: Objective-C instance method.

 o format
 public native String format()
A wrapper for the - format Objective-C instance method.

 o setFormat
 public native void setFormat(String format)
A wrapper for the - setFormat: Objective-C instance method.

 o hasThousandSeparators
 public native boolean hasThousandSeparators()
A wrapper for the - hasThousandSeparators Objective-C instance method.

 o setHasThousandSeparators
 public native void setHasThousandSeparators(boolean flag)
A wrapper for the - setHasThousandSeparators: Objective-C instance method.

 o thousandSeparator
 public native String thousandSeparator()
A wrapper for the - thousandSeparator Objective-C instance method.

 o setThousandSeparator
 public native void setThousandSeparator(String newSeparator)
A wrapper for the - setThousandSeparator: Objective-C instance method.

 o decimalSeparator
 public native String decimalSeparator()
A wrapper for the - decimalSeparator Objective-C instance method.

 o setDecimalSeparator
 public native void setDecimalSeparator(String newSeparator)
A wrapper for the - setDecimalSeparator: Objective-C instance method.

 o localizesFormat
 public native boolean localizesFormat()
A wrapper for the - localizesFormat Objective-C instance method.

 o setLocalizesFormat
 public native void setLocalizesFormat(boolean flag)
A wrapper for the - setLocalizesFormat: Objective-C instance method.

 o allowsFloats
 public native boolean allowsFloats()
A wrapper for the - allowsFloats Objective-C instance method.

 o setAllowsFloats
 public native void setAllowsFloats(boolean flag)
A wrapper for the - setAllowsFloats: Objective-C instance method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index